package com.bluetoothsms.common;

public class MessageConversation extends BluetoothMessage {

	public MessageConversation(Conversation cv) {
		super(BtMessageType.Conversation, new String[] { cv.getPhoneNumber(),
				cv.getContactName(), String.valueOf(cv.getThreadId()),
				String.valueOf(cv.getMessageCount()), cv.getSnippet() });
	}

	public MessageConversation(byte[] data, int length) {
		super(BtMessageType.Conversation, data, length);
	}

	public Conversation getConversation() {
		return new Conversation(mData, 0);
	}
}
